.class public Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;
.super Ljava/lang/Object;
.source "IMAIClickEvent.java"

# interfaces
.implements Ljava/io/Serializable;


# static fields
.field private static final serialVersionUID:J = -0x11c766f6519116bL


# instance fields
.field private a:I

.field private b:Ljava/lang/String;

.field private c:Z

.field private d:Z

.field private e:I

.field private f:Z

.field private transient g:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference",
            "<",
            "Lcom/inmobi/re/container/IMWebView;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/String;ZZLjava/lang/ref/WeakReference;ZI)V
    .locals 1
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "ZZ",
            "Ljava/lang/ref/WeakReference",
            "<",
            "Lcom/inmobi/re/container/IMWebView;",
            ">;ZI)V"
        }
    .end annotation

    .prologue
    .line 30
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 32
    if-eqz p5, :cond_0

    .line 33
    invoke-virtual {p4}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v0

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getImai()Lcom/inmobi/androidsdk/bootstrapper/IMAIConfigParams;

    move-result-object v0

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/bootstrapper/IMAIConfigParams;->getMaxRetry()I

    move-result p6

    .line 36
    :cond_0
    invoke-static {}, Lcom/inmobi/androidsdk/impl/imai/IMAIUtility;->a()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setClickId(I)V

    .line 37
    invoke-virtual {p0, p1}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setClickURL(Ljava/lang/String;)V

    .line 38
    invoke-virtual {p0, p2}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setFollowRedirects(Z)V

    .line 39
    invoke-virtual {p0, p3}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setPingWV(Z)V

    .line 40
    invoke-virtual {p0, p6}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setRetryCount(I)V

    .line 41
    invoke-virtual {p0, p5}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setFirstClick(Z)V

    .line 42
    invoke-virtual {p0, p4}, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->setWebviewRef(Ljava/lang/ref/WeakReference;)V

    .line 43
    return-void
.end method


# virtual methods
.method public getClickId()I
    .locals 1

    .prologue
    .line 78
    iget v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->a:I

    return v0
.end method

.method public getClickURL()Ljava/lang/String;
    .locals 1

    .prologue
    .line 46
    iget-object v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->b:Ljava/lang/String;

    return-object v0
.end method

.method public getRetryCount()I
    .locals 1

    .prologue
    .line 70
    iget v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->e:I

    return v0
.end method

.method public getWebviewRef()Ljava/lang/ref/WeakReference;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/ref/WeakReference",
            "<",
            "Lcom/inmobi/re/container/IMWebView;",
            ">;"
        }
    .end annotation

    .prologue
    .line 94
    iget-object v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->g:Ljava/lang/ref/WeakReference;

    return-object v0
.end method

.method public isFirstClick()Z
    .locals 1

    .prologue
    .line 86
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->f:Z

    return v0
.end method

.method public isFollowRedirects()Z
    .locals 1

    .prologue
    .line 54
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->c:Z

    return v0
.end method

.method public isPingWV()Z
    .locals 1

    .prologue
    .line 62
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->d:Z

    return v0
.end method

.method public setClickId(I)V
    .locals 0
    .parameter

    .prologue
    .line 82
    iput p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->a:I

    .line 83
    return-void
.end method

.method public setClickURL(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 50
    iput-object p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->b:Ljava/lang/String;

    .line 51
    return-void
.end method

.method public setFirstClick(Z)V
    .locals 0
    .parameter

    .prologue
    .line 90
    iput-boolean p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->f:Z

    .line 91
    return-void
.end method

.method public setFollowRedirects(Z)V
    .locals 0
    .parameter

    .prologue
    .line 58
    iput-boolean p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->c:Z

    .line 59
    return-void
.end method

.method public setPingWV(Z)V
    .locals 0
    .parameter

    .prologue
    .line 66
    iput-boolean p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->d:Z

    .line 67
    return-void
.end method

.method public setRetryCount(I)V
    .locals 0
    .parameter

    .prologue
    .line 74
    iput p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->e:I

    .line 75
    return-void
.end method

.method public setWebviewRef(Ljava/lang/ref/WeakReference;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/ref/WeakReference",
            "<",
            "Lcom/inmobi/re/container/IMWebView;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 98
    iput-object p1, p0, Lcom/inmobi/androidsdk/impl/imai/IMAIClickEvent;->g:Ljava/lang/ref/WeakReference;

    .line 99
    return-void
.end method
